<?php /* Smarty version 2.6.18, created on 2010-05-05 12:26:12
         compiled from admin/base/baseSet.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/public/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<div id="main">
		    	<div class="head-dark-box">
				<div class="tit">系统管理>常规设置>基本设置</div>
			</div>	
			<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/public/title.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		    <form  method="post" action="admin.php?m=base&a=set" enctype="multipart/form-data">
			<div class="msg-box">
				<ul class="viewmess">
					<li class="light-row">
						<span class="col_width">前台显示风格</span>
							<select class="text-box" name="appStyle">
								<?php $_from = $this->_tpl_vars['varList']['selectStyle']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
									<option <?php if ($this->_tpl_vars['varList']['appStyle'] == $this->_tpl_vars['key']): ?> selected <?php endif; ?> value="<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['value']; ?>
</option>
								<?php endforeach; endif; unset($_from); ?>
							</select>
						</li>
					<li class="dark-row">
						<span class="col_width">文章每页显示数目</span>
						<input type="text" class="text-box" name="articlePageSize" size="15" value="<?php echo $this->_tpl_vars['varList']['articlePageSize']; ?>
"> 条/页			
					</li>
					<li class="light-row">
						<span class="col_width">图片每页显示数目</span>
						<input type="text" class="text-box" name="picturePageSize" size="15" value="<?php echo $this->_tpl_vars['varList']['picturePageSize']; ?>
"> 条/页				
					</li>
					<li class="dark-row">
						<span class="col_width">后台图片显示方式</span>
						
						<input type="radio" name="pictureShowType" value="list" <?php if ($this->_tpl_vars['varList']['pictureShowType'] == 'list'): ?> checked  <?php endif; ?> > 列表	
						<input type="radio" name="pictureShowType" value="thumb" <?php if ($this->_tpl_vars['varList']['pictureShowType'] == 'thumb'): ?> checked  <?php endif; ?> > 缩略图
					</li>
					<li class="light-row">
						<span class="col_width">水印图片</span>
						<span id="newwater">
					        	<img id="wtu" src="<?php echo $this->_tpl_vars['varList']['waterpath']; ?>
<?php echo $this->_tpl_vars['varList']['water']; ?>
" alt="water image">
						</span>	
						<input type="button"  style="margin-left:30px" class="button" value="更 换" onclick="changeup(this)">
					</li>
					<li class="dark-row">
						<span class="col_width">水印位置</span>
						<select name="position">
						 	<option value="0" <?php if ($this->_tpl_vars['varList']['position'] == 0): ?> selected <?php endif; ?>>随机位置</option> 
							<option value="1" <?php if ($this->_tpl_vars['varList']['position'] == 1): ?> selected <?php endif; ?>>顶端居左</option> 
							<option value="2" <?php if ($this->_tpl_vars['varList']['position'] == 2): ?> selected <?php endif; ?>>顶端居中</option> 
							<option value="3" <?php if ($this->_tpl_vars['varList']['position'] == 3): ?> selected <?php endif; ?>>顶端居右</option> 
							<option value="4" <?php if ($this->_tpl_vars['varList']['position'] == 4): ?> selected <?php endif; ?>>中部居左</option> 
							<option value="5" <?php if ($this->_tpl_vars['varList']['position'] == 5): ?> selected <?php endif; ?>>中部居中</option> 
							<option value="6" <?php if ($this->_tpl_vars['varList']['position'] == 6): ?> selected <?php endif; ?>>中部居右</option> 
							<option value="7" <?php if ($this->_tpl_vars['varList']['position'] == 7): ?> selected <?php endif; ?>>底端居左</option> 
							<option value="8" <?php if ($this->_tpl_vars['varList']['position'] == 8): ?> selected <?php endif; ?>>底端居中</option> 
							<option value="9" <?php if ($this->_tpl_vars['varList']['position'] == 9): ?> selected <?php endif; ?>>底端居右</option>  
						</select>&nbsp;&nbsp;&nbsp;&nbsp;可以有10种设置状态
					</li>
					<li class="light-row">
						<span class="col_width">缩略图尺寸</span>
						宽 <input type="text" class="text-box" name="width" size="5" value="<?php echo $this->_tpl_vars['varList']['width']; ?>
"> px&nbsp;&nbsp;
						高 <input type="text" class="text-box" name="height" size="5" value="<?php echo $this->_tpl_vars['varList']['height']; ?>
"> px
					</li>
					<li class="dark-row">
						<span class="col_width">图片上传后的最大尺寸</span>
						宽 <input type="text" class="text-box" name="maxWidth" size="5" value="<?php echo $this->_tpl_vars['varList']['maxWidth']; ?>
"> px&nbsp;&nbsp;
						高 <input type="text" class="text-box" name="maxHeight" size="5" value="<?php echo $this->_tpl_vars['varList']['maxHeight']; ?>
"> px
					</li>
					<li class="light-row">
						<span class="col_width">&nbsp;</span>
						<input type="submit" class="button" name="mod" value="修 改">&nbsp;&nbsp;
						<input type="reset" class="button" value="重 置">
					</li>
				</ul>	
			</div>
                    </form>	
		</div>

<div id="timer">
	<p><span class="exetime">当前脚本执行用时</span><span class="red_font"><?php echo $this->_tpl_vars['timer']; ?>
</span>秒&nbsp;</p>	
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/public/footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>	

